package com.bys.service.impl;

import com.bys.service.PayService;
import org.springframework.stereotype.Service;

@Service
public class PayServiceImpl implements PayService {
    @Override
    public String feignOk() {
        String result = "服务繁忙, 请稍后再试！！ **** ok ****";
        return result + Thread.currentThread().getName();
    }

    @Override
    public String feign_timeout() {
        String result = "服务繁忙, 请稍后再试！！ **** timeout  ****";
        return result + Thread.currentThread().getName();
    }

    @Override
    public String feign_err() {
        String result = "服务繁忙, 请稍后再试！！ **** err   *****";
        return result + Thread.currentThread().getName();
    }
}
